package com.yidaozou.jsonobj.req;

/**
 * 请求报文
 * @author wanghua
 * @date 2015/01/22
 * @param <T> 请求体
 */
public class Message<T extends Body> {
	
	//请求头
	private Head head;
	//请求体
	private T body;
	
	public Head getHead() {
		return head;
	}
	public void setHead(Head head) {
		this.head = head;
	}
	public T getBody() {
		return body;
	}
	public void setBody(T body) {
		this.body = body;
	}
	public String toString() {
		return this.head + " ## " + this.body;
	}
}
